package org.tinaelle.client.utils;

import com.google.gwt.user.client.ui.HTML;

public class Title extends HTML {

	public final static String	STYLE_NAME	= "Title";

	public Title(final String title) {
		super();
		setTitle( title );
	}

	@Override
	public void setTitle(final String title) {
		setHTML( "<h1 class=\"" + STYLE_NAME + "\">" + title + "</h1>" );
	}

}
